import type { ILineData, IPathData, Number2, Number3 } from "@manycore/custom-miniapp-sdk";

/** 参数化模型还原所需的数据 */
export interface IThreeData {
  position: Number3;
  rotate: Number3;
  points: Number2[];
  thickness: number;
  lines: ILineData[]
  holesPoints: Number2[][];
  holesLines: ILineData[][];
}

/** 参数化模型线段枚举类型补充 */
export enum ELineType2 {
  ELLIPSE_ARC = 2
}

/** 参数化模型线段数据接口类型补充 */
export interface ILineData2 extends Required<ILineData> {
  [key: string]: any
}

/** 路径类型补充  */
export interface IPathData2 extends IPathData {
  resultPoints: Number2[],
  resultLines: ILineData[]
}